package com.ns.school.service.edu.impl;

import com.ns.school.po.edu.ScheduleDB;
import com.ns.school.mapper.edu.ScheduleMapper;
import com.ns.school.service.edu.ScheduleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class ScheduleServiceImpl implements ScheduleService {
    @Autowired
    private ScheduleMapper scheduleMapper;

    @Override
    public List<ScheduleDB> findAllSchedule(ScheduleDB scheduleDB) {
        return scheduleMapper.findAllSchedule(scheduleDB);
    }
}